<template>
  <a-radio-group @change="changeRadio">
    <a-radio v-for="item in radioList" :key="item.value" :value="item.value">
      {{ item.label }}
    </a-radio>
  </a-radio-group>
</template>

<script>

export default {
  props: {
    prop: String,
    radioList: Array,
    cb: String,
    value: [String, Number]
  },
  data() {
    return {
    }
  },
  methods: {
    changeRadio(instance) {
      this.$emit('handle-radio-change', instance.target.value,this.prop)
    }
  }
}
</script>
